package com.recharge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.recharge.common.result.ResultDO;
import com.recharge.core.entity.UserOperationLogEntity;
import com.recharge.domain.query.UserOperationLogqueryDO;
import com.recharge.domain.vo.UserOperationLogDo;

/**
 * <p>
 * 用户操作日志 服务类
 * </p>
 *
 * @author reagan
 * @since 2020-08-19
 */
public interface UserOperationLogService extends IService<UserOperationLogEntity> {

    /**
     * 添加操作日志
     * @param userOperationLogDo
     */
    ResultDO add(UserOperationLogDo userOperationLogDo);

    /**
     * 添加操作日志(重写)
     * @param merchantId 商户ID
     * @param merchantName 商户名
     * @param description 备注
     * @return
     */
//    ResultDO add(String merchantId, String merchantName, String description);

    /**
     * 查询操作日志
     * @param domain
     * @return
     */
    ResultDO find(UserOperationLogqueryDO domain);
}
